#ifndef GRAPH_NODE_H_
#define GRAPH_NODE_H_
#include <d3dx9.h>

/* Stores a position in 3D space, joined to other nodes by edges, 
   and managed by a Graph*/
class GraphNode
{
public:
    GraphNode() : m_id(-1), m_data(NULL) {}

    /* Set */
    void SetId(int id){m_id = id;}
    void SetPositon(const D3DXVECTOR3& position){m_position = position;}
    /* Get */
    int GetID() const {return m_id;}
    const D3DXVECTOR3& GetPos() const {return m_position;}

private:
    D3DXVECTOR3 m_position;
    int m_id;
    void* m_data;
};


#endif